<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        require('./_app/Config.inc.php');
        //$check = new Check();
        //var_dump($check);
        $Email = 'romulo@gmail.com';
        if(Check::Email($Email)):
            echo 'VALIDO<hr>';
        else:
            echo 'INVALIDO<hr>';
        endif;
        
        $Name = 'Estamos aprendendo PHP. Veja voce como e';
        echo Check::Name($Name) . '<hr>';
        
        $Data = '05/01/2014 13:14:20';
        echo Check::Data($Data) . '<hr>';
        
        $String = 'Ola mundo, estamos estudando PHP na UpInside!';
        echo Check::Words($String, 5, '<small>Continue lendo...</small><hr>');
        
        echo Check::CatByName('artigos') . '<hr>';
        echo Check::CatByName('noticias') . '<hr>';
        echo Check::CatByName('esportes'). '<hr>';
        //echo Check::CatByName('internet'). '<hr>';
        
        echo Check::UserOnline() . '<hr>';
        echo Check::Image('google.jpg', 'Google', '300', '150');
        ?>
        
    </body>
</html>
